package com.huilian.iotbox.data.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author: 少凡
 * @Date 2018/7/21 16:27
 */
@Data
public class OrderInfo implements Serializable {

    private static final long serialVersionUID = -4989125388023264090L;

    //外部交易单号
    private String outTradeNo;
    //商品描述
    private String body;
    //交易总额度
    private BigDecimal totalAmount;

    private BigDecimal discountMoney;
    //交易游戏币
    private Integer saleCoin;
    // 赠送币
    private Integer giveCoin;
    //总获取游戏币
    private Integer totalCoin;
    /** 购买前数量*/
    private Integer rechargeBeforeBalance;
    /** 购买后数量*/
    private Integer rechargeAfterBalance;

    private Integer userId;

    private Long memberId;

    private Integer optionType;

    //支付渠道code
    private String payCompanyCode;
    //服务公司code
    private String serviceCompanyCode;
    //订单所属机构
    private String agencyNo;
    //支付渠道类型，ALI支付宝WX微信支付,QQ手机QQ,JD 京东钱包
    private Object channelType;
    //所属用户
    private String openId;

    //终端设备号 门店收银有设备
    private String deviceId;

//    //渠道下所属商户号
//    private String hlMerchantId;

    private String merchantId;

    //1=公众号（生活号）,2=扫码 3=刷卡
    private String function;

    private String notifyUrl;

    private String operatorId;

    private String orderNo;

    private String expireExpress;
    //商户名称
    private String merchantName;

    private String goodsTag;
    private String goodsDetail;
    private String attach;


    private String wxAppId;

    //app支付显示
    private String alias;

    public String advertLink;

    private String successUrl;
    private String ip;

    public Integer merchantStoreId;

    private String ipRegion;

    private String sign;
    private String url;
    //支付成功跳转地址
    private String sucUrl;
    /** 收款商户类型  1.平台商户   2.自有商户 */
    private Integer mchType;
    /**设备号*/
    private String deviceNo;
}
